import { getData } from "../../http";

import {publicPath} from "../constants"

// Home主页面获取数据的API

export function getTopData() {
    return getData(publicPath + "/home/top")
}

export function getNewData() {
    return getData(publicPath + "/home/new")
}

export function getAcgData() {
    return getData(publicPath + "/home/acg")
}

export function getGameData() {
    return getData(publicPath + "/home/game")
}

export function getTopicData() {
    return getData(publicPath + "/home/topic")
}